package com.auto.signup.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Table(name = "user_info")
public class UserInfo implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 2113431548888875451L;

	/**
	 * 用户ID
	 */
	@Id
	@Column(name = "user_id")
	private String id;

	/**
	 * 真实姓名
	 */
	@Column(name = "user_real_name")
	private String realName;

	/**
	 * 昵称
	 */
	@Column(name = "user_nickname")
	private String nickname;

	/**
	 * 姓别： 0未知；1男；2女
	 */
	@Column(name = "user_gender")
	private Byte gender;

	/**
	 * 头像 URL
	 */
	@Column(name = "user_head_pic")
	private String headPic;

	/**
	 * 用户状态 0 正常； 99已删除
	 * 
	 */
	@Column(name = "user_status")
	private Byte status;

	@Column(name = "user_create_time")
	private Date createTime;

	@Column(name = "user_update_time")
	private Date updateTime;

	@Column(name = "user_tel")
	private String tel;

	@Column(name = "user_weixin_lv")
	private Integer weixinLV;

	@Column(name = "user_open_id")
	private String openId;

	/**
	 * 获取用户ID
	 *
	 * @return user_id - 用户ID
	 */
	public String getId() {
		return id;
	}

	/**
	 * 设置用户ID
	 *
	 * @param id
	 *            用户ID
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取真实姓名
	 *
	 * @return user_real_name - 真实姓名
	 */
	public String getRealName() {
		return realName;
	}

	/**
	 * 设置真实姓名
	 *
	 * @param realName
	 *            真实姓名
	 */
	public void setRealName(String realName) {
		this.realName = realName;
	}

	/**
	 * 获取昵称
	 *
	 * @return user_nickname - 昵称
	 */
	public String getNickname() {
		return nickname;
	}

	/**
	 * 设置昵称
	 *
	 * @param nickname
	 *            昵称
	 */
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	/**
	 * 获取姓别： 0未知；1男；2女
	 *
	 * @return user_gender - 姓别： 0未知；1男；2女
	 */
	public Byte getGender() {
		return gender;
	}

	/**
	 * 设置姓别： 0未知；1男；2女
	 *
	 * @param gender
	 *            姓别： 0未知；1男；2女
	 */
	public void setGender(Byte gender) {
		this.gender = gender;
	}

	/**
	 * 获取头像 URL
	 *
	 * @return user_head_pic - 头像 URL
	 */
	public String getHeadPic() {
		return headPic;
	}

	/**
	 * 设置头像 URL
	 *
	 * @param headPic
	 *            头像 URL
	 */
	public void setHeadPic(String headPic) {
		this.headPic = headPic;
	}

	/**
	 * 获取用户状态 0 正常
	 *
	 * 
	 * @return user_status - 用户状态 0 正常；99已删除；
	 * 
	 */
	public Byte getStatus() {
		return status;
	}

	/**
	 * 设置用户状态 0 正常
	 *
	 * 
	 * @param status
	 *            用户状态 0 正常
	 * 
	 */
	public void setStatus(Byte status) {
		this.status = status;
	}

	/**
	 * @return user_create_time
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * @return user_update_time
	 */
	public Date getUpdateTime() {
		return updateTime;
	}

	/**
	 * @param updateTime
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public Integer getWeixinLV() {
		return weixinLV;
	}

	public void setWeixinLV(Integer weixinLV) {
		this.weixinLV = weixinLV;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}
}